package org.rency.ues.engine.validator;

import org.rency.ues.domain.request.DecryptRequest;
import org.rency.ues.domain.response.DecryptResponse;

/**
 * 解密请求参数校验
 *
 * @author: Created by user_rcy@163.com on 2016/8/3.
 * @version: V1.0.0
 * @since JDK 1.8
 */
public class DecryptValidator extends AbstractRequestValidator<DecryptRequest, DecryptResponse>{
    @Override
    protected void validate(DecryptRequest request) {

    }

    @Override
    protected String getValidatorName() {
        return "解密";
    }

    @Override
    protected DecryptResponse success() {
        return DecryptResponse.success();
    }

    @Override
    protected DecryptResponse fail(String returnMessage) {
        return DecryptResponse.fail(returnMessage);
    }
}
